import 'package:freezed_annotation/freezed_annotation.dart';

part 'picture_cell_model.freezed.dart';
part 'picture_cell_model.g.dart';

@freezed
class PictureCellModel with _$PictureCellModel {
  factory PictureCellModel({
    String? coverImg,
    int? imgNum,
    int? picType,
    int? portrayPicId,
    int? price,
    String? title,
  }) = _PictureCellModel;

  factory PictureCellModel.fromJson(Map<String, dynamic> json) =>
      _$PictureCellModelFromJson(json);
}
